#ifndef dq_DropPropertyPage_h
#define dq_DropPropertyPage_h

#include "PropertyPage.h"
#include <utility/EventHandler.h>

namespace serika
{
	namespace dq
	{
		class DropPropertyPage : public PropertyPage, public ut::EventHandler
		{
		public:
			DropPropertyPage(PropertyTemplate* tmpl);
			virtual ~DropPropertyPage();

		public:
			virtual Property* CreateProperty();

			virtual void Handle(const ut::Event& e);

		protected:
			virtual void OnActivate();
			virtual void OnDeactivate();

			virtual void OnInitialize();
			virtual void DoLayout(ut::Config* config);
			virtual const ut::Char* GetLayoutFilename() const { return _T("DropPropertyPage.ini"); }

		private:
			CComboBox mCombo;
		};
	}
}

#endif
